include makefile.in
#CC=gcc
#INCLUDES=-I./ -I./debug/ -I./os-dependent/
#LIBS=-lGL -lGLU -lX11 -lpng
#CFLAGS=$(OPTS) $(INCLUDES) $(LIBS) -std=c99 -Wall -DLINUX -DOPENGL -O2 -g
#OBJ_FILES=debug/debug.o os-dependent/linux.o graphics/sprite.o libs/libpng.o libs/opengl.o
#all: $(OBJ_FILES)
DIRS= audio debug graphics input libs mechanics os-dependent thread
all:
	for d in $(DIRS); do (cd $$d; make ); done
	find . -name "*.o" | xargs ar rcs libsomlg.a
clean:
	for d in $(DIRS); do (cd $$d; make clean); done
